#ifndef IMAGE_TRANS_H
#define IMAGE_TRANS_H

#include "ros/ros.h"
#include "image_transport/image_transport.h"
#include "opencv2/highgui/highgui.hpp"
#include "cv_bridge/cv_bridge.h"
#include "std_msgs/String.h"

class image_transport_pub
{
private:
    ros::NodeHandle nh_;
    boost::shared_ptr<image_transport::ImageTransport> it;
    image_transport::Subscriber sub;
    image_transport::Publisher pub;
    sensor_msgs::ImagePtr image_pub_msgs;

    cv::Mat image_sub;
    cv::Mat image_pub;

    void imageCallback(const sensor_msgs::ImageConstPtr &msg);


public:
    image_transport_pub();
    ~image_transport_pub();

};

#endif // IMAGE_TRANS_H
